let Sequelize = require('sequelize');

let sequelize = require('./db.js').webAccount;

module.exports = sequelize.define('test_user_multi_token', {
    uid: {
        comment: '主键',
        primaryKey: true,
        type: Sequelize.INTEGER
    },
    openid: {
        allowNull: true,
        type: Sequelize.STRING,
        comment: 'openid'
    }
}, {
    underscored: true,
    freezeTableName: true // freezeTabelName 为 true 时不会在库中映射表时增加复数表名
});
